﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model.House
{
    [Table("T_House_Price")]
    public class T_House_Price
    {
        /// <summary>
        /// 房价id
        /// </summary>
        [Key]
        public int HP_Id { get; set; }
        /// <summary>
        /// 房型的id
        /// </summary>
        public int HY_Id { get; set; }
        /// <summary>
        /// 门店的id
        /// </summary>
        public int StoreId { get; set; }

        /// <summary>
        /// 房价计划的名称
        /// </summary>
        public string PH_Name { get; set; }

        /// <summary>
        /// 房价计划数量
        /// </summary>
        public int PH_Number { get; set; }

        /// <summary>
        /// 房价
        /// </summary>
        public decimal PH_Price { get; set; }

        /// <summary>
        /// 早餐的数量
        /// </summary>
        public int PH_Breakfast { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime PH_BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime PH_EndTime { get; set; }

        /// <summary>
        /// 是否投放
        /// </summary>
        public bool HP_State {  get; set; } = true;  //表示投放

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; } = false; //表示不删除


    }
}
